<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link href="../css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="../css/icons-extra.css" />
	</head>
	<body>
		<div class="mui-content">
		    <div class="mui-content-padded">
		    	 <button type="button" id="btnlogout" class="mui-btn mui-btn-primary mui-btn-block">退出</button>
		    </div>
		</div>
		<img src="../images/m4.jpg" style="width:100%" />
		<script src="../js/mui.min.js"></script>
		<script type="text/javascript" charset="utf-8">
			mui.init();
			document.getElementById("btnlogout").addEventListener("tap",function () { 
				console.log('btnlogout');
				
				localStorage.removeItem('_clientid');
				
				
				
				mui.toast('退出成功！');
				
				
				 var page = plus.webview.getWebviewById('login');
            // 通知页面去ajax拉取数据(在渲染页面和移动窗体之前)
            mui.fire(page,'pulldata',{});
            // 隐藏父页面
            plus.webview.currentWebview().opener().hide();
            // 关闭当前页
            plus.webview.currentWebview().hide();
				
				//plus.webview.getLaunchWebview().show("pop-in");
			});
		</script>
	</body>
</html>
